package Xin01;

public class Yuanzhu extends Yuan{
    private double h = 1;

    public void setH(double h) {
        this.h = h;
    }

    public double getH() {
        return h;
    }

    public double v(){
        return s()* h;
    }
}
